package dns

import "context"

// Resolver DNS 解析器通用接口
type Resolver interface {
	Query(ctx context.Context, domain string, recordType RecordType) ([]DNSRecord, error)
	QueryCAA(ctx context.Context, domain string) ([]CAARecord, error)
	QueryAll(ctx context.Context, domain string) (*QueryResult, error)
	ResolveCNAMEChain(ctx context.Context, domain string) ([]string, error)
}
